package com.cn.wanxi.test;

public class MyWhile {
    public static void main(String[] args) {
        for (int i = 0; i < 4; i++) {
            System.out.println(i);
        }
//        System.out.println(i);
        int i = 0;
        while (i < 4) {
            System.out.println(i);
            i++;
        }
        System.out.println(i);
    }
}
